package PropertiesManage;

import java.io.InputStream;
import java.util.Properties;

import myLoad.MyLoad;
/**
 * 
 * @author YuanRongHua
 *
 */

public class PropertiesManage {
	public static Properties getPro(String properiesName) throws Exception{
		//String path = PropertiesManage.class.getClassLoader().getResource("the.properties").getPath();
		InputStream in=new MyLoad().getTheLoad(properiesName);
		
		Properties p=new Properties();
		
		p.load(in);
		in.close();
		return p;
	}
}
